package org.lanqiao.users;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("ws_user")
@Data
public class Admin implements Serializable {
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer id;
    @TableField(value = "user_name")
    private String name;
    @TableField(value = "user_pass")
    private String pass;
    private Date regDate;
    private String loginDate;
    private String userPhone;
    private String userSex;
    private Integer likedCount;
    private String userHead;
    private Integer createCount;
    private Integer askCount;
    private Integer ansCount;
    private Integer collectCount;
    private Integer userLevel;
    private Integer status;
}
